<div id="phpinfo">
    <h2><?php echo $data->get('title'); ?></h2>
    <table>
        <tr>
            <th>PHP version</th>
            <td><?php echo $data->get('phpVersion'); ?></td>
        </tr>
        <tr>
            <th>Zend version</th>
            <td><?php echo $data->get('zendVersion'); ?></td>
        </tr>
        <tr>
            <th>Computer</th>
            <td><?php echo $data->get('uname'); ?></td>
        </tr>
        <tr>
            <th>Temporary directory</th>
            <td><?php echo $data->get('temporaryDirectory'); ?></td>
        </tr>
        <tr>
            <th>Path of php.ini</th>
            <td><?php echo $data->get('phpIniPath'); ?></td>
        </tr>
        <tr>
            <th>Processed ini files</th>
            <td><?php
                $paths = implode('<br/>', $data->get('phpAdditionalIniPaths', '/', array()));
                echo $paths === null ? 'none' : $paths;
            ?></td>
        </tr>
        <tr>
            <th>Extensions</th>
            <td>
                <?php 
                      foreach ($data->get('extensions', '/', array()) as $index=>$extension):
                        echo str_replace(' ', '&nbsp;', $extension['name'] . ($extension['version'] !== false ? ' (' . $extension['version'] . ')' : ''));
                        echo $index == count($data->get('extensions', '/', array()))-1 ? ' ' : ', ';
                      endforeach;
                ?>
            </td>
        </tr>
    </table>
</div>